# -*- coding: UTF-8 -*-
# __author__ = '10459'

DEBUG = True
SQLALCHEMY_DATABASE_URI = 'mysql+cymysql://root:qweqwe123@localhost:3306/fisher'
# 数据库键名称不能改，否则flask不能识别数据库配置，不能随意命名，后面值可以多种，驱动，用cymysql驱动mysql
# 分布式数据库可以以后研究
# 服务器的数据返回到客户端需要加秘钥，秘钥配置在配置文件中
SECRET_KEY = "Yq/20Y68VxiQ7/ptamuL9kBIMB40h5FWMlZpsG0lLikCaOm3JcfrG/KUArhc53KJ"
REMEMBER_COOKIE_DURATION = 100  # cookie有效期remember那里控制login视图函数中
# Email配置
MAIL_SERVER = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USE_SSL = True
MAIL_USE_TSL = False
MAIL_USERNAME = "1045933569@qq.com"
MAIL_PASSWORD = "idihtmrfvbnqbajc"
# MAIL_SUBJECT_PREFIX="[鱼书]"
# MAIL_SENDER='鱼书<hello@yushu.im>'
